home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1558.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.5 KB  |  67 lines

  1. 141
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. GetFilename
  6. --- RECORDSEPARATOR ---
  7.  (continued)
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. To use these values, add the appropriate values together eg 
  12. --- RECORDSEPARATOR ---
  13. OFN_CREATEPROMPT + OFN_HIDEREADONLY + OFN_NONETWORKBUTTON 
  14. --- RECORDSEPARATOR ---
  15. If OFN_ALLOWMULTISELECT is selected and the user selects more than one file, the return 
  16. --- RECORDSEPARATOR ---
  17. will be a series of strings, separated by returns. The first line will be the directory selected, the 
  18. --- RECORDSEPARATOR ---
  19. remaining lines will be the selected filenames. In Director, use "the line of" function to retrieve 
  20. --- RECORDSEPARATOR ---
  21. each line. In Authorware, use the "GetLine" function. 
  22. --- RECORDSEPARATOR ---
  23. If OFN_RETURNASLIST is specified, then the return will be a list with each filename as a 
  24. --- RECORDSEPARATOR ---
  25. separate entry. Each file name will include the full path to the file. 
  26. --- RECORDSEPARATOR ---
  27. The OFN_EXPLORER flag can not be used with the NoFolders option. 
  28. --- RECORDSEPARATOR ---
  29. The Flags options on
  30. --- RECORDSEPARATOR ---
  31.  Macintosh
  32. --- RECORDSEPARATOR ---
  33.  are: 
  34. --- RECORDSEPARATOR ---
  35. 512 
  36. --- RECORDSEPARATOR ---
  37. OFN_ALLOWMULTISELECT 
  38. --- RECORDSEPARATOR ---
  39. Specifies that the File Name list box allows multiple selections. 
  40. --- RECORDSEPARATOR ---
  41. 524288 
  42. --- RECORDSEPARATOR ---
  43. OFN_NAVIGATIONSERVICES 
  44. --- RECORDSEPARATOR ---
  45. Creates an Open or Save As dialog box that uses user-interface features similar to the 
  46. --- RECORDSEPARATOR ---
  47. Finder. 
  48. --- RECORDSEPARATOR ---
  49. 1048576 
  50. --- RECORDSEPARATOR ---
  51. OFN_NODEREFERENCELINKS 
  52. --- RECORDSEPARATOR ---
  53. Directs the dialog box to return the path and filename of the selected alias. If this value is 
  54. --- RECORDSEPARATOR ---
  55. not given, the dialog box returns the path and filename of the file referenced by the alias. 
  56. --- RECORDSEPARATOR ---
  57. Using a flag of 524288 requests the dialog to use Navigation Services. If this flag is specified 
  58. --- RECORDSEPARATOR ---
  59. and Navigation Services is not installed (it is standard with OS 8.5 and later) then the standard 
  60. --- RECORDSEPARATOR ---
  61. dialog will be used instead. The use of this flag enables the use of the two other flags. If you 
  62. --- RECORDSEPARATOR ---
  63. use the multiple selection option then the files will be returned as a list. Note that on 
  64. --- RECORDSEPARATOR ---
  65. Macintosh, it is possible to select files that are not in the same folder. The NoFolders option 
  66. --- RECORDSEPARATOR ---
  67. does not work with Navigation Services. Under OSX, Navigation Services will always be used.